package com.service.dao.mapper;

import com.service.dao.model.ConvertCoinsRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 货币合成(兑换)记录详情
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-12-12 15:29:36
 */
@Mapper
public interface ConversionCoinsRecordMapper extends BaseMapper<ConvertCoinsRecord> {

    BigDecimal sumConversionNum(@Param("memberId") Integer memberId,@Param("coinName") String coinName ,@Param("startTime") Date startTime,@Param("endTime") Date endTime);


}
